package com.android.showRoomApp.entity;

/**
 * 屏幕素材实体类
 */
public class ScreenMaterial {

    private String screenNO;
    private String screenName;
    private String material;
    private String materialType;
    private String autoPlayTime;
    private String playOrder;
    private String name;
    private String file;
    private String localIP;
    private int port;

    // 额外添加两个变量
    private boolean isConnect = false; //屏幕是否连接
    private boolean isShow = false; //素材是否正在展示

    public boolean isConnect() {
        return isConnect;
    }

    public void setConnect(boolean connect) {
        isConnect = connect;
    }

    public boolean isShow() {
        return isShow;
    }

    public void setShow(boolean show) {
        isShow = show;
    }

    public String getLocalIP() {
        return localIP;
    }

    public void setLocalIP(String localIP) {
        this.localIP = localIP;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getScreenNO() {
        return screenNO;
    }

    public void setScreenNO(String screenNO) {
        this.screenNO = screenNO;
    }

    public String getScreenName() {
        return screenName;
    }

    public void setScreenName(String screenName) {
        this.screenName = screenName;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public String getAutoPlayTime() {
        return autoPlayTime;
    }

    public void setAutoPlayTime(String autoPlayTime) {
        this.autoPlayTime = autoPlayTime;
    }

    public String getPlayOrder() {
        return playOrder;
    }

    public void setPlayOrder(String playOrder) {
        this.playOrder = playOrder;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFile() {
        return file == null?"":file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public ScreenMaterial(String screenNO, String screenName, String material, String materialType, String autoPlayTime, String playOrder, String name, String file, String localIP, int port) {
        this.screenNO = screenNO;
        this.screenName = screenName;
        this.material = material;
        this.materialType = materialType;
        this.autoPlayTime = autoPlayTime;
        this.playOrder = playOrder;
        this.name = name;
        this.file = file;
        this.localIP = localIP;
        this.port = port;
    }

    public ScreenMaterial() {
    }
}
